package com.xss.ipctest.binderpool;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;

/**
 * 远程Service
 */
public class BinderPoolService extends Service {
    private static final String TAG = "BinderPoolService";
    public BinderPoolService() {
    }

    @Override
    public IBinder onBind(Intent intent) {
        Log.i(TAG, "onBind: ");
        return binder;
    }

    private IBinder binder=new BinderPool.BinderPoolImpl();
}
